package com.community.feign.contents.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 圈子
 *
 * @author hjs hjs@qq.com
 * @since 1.0.0 2023-02-21
 */
@Data
@ApiModel(value = "圈子")
public class TopicDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID")
	private Integer id;

	@ApiModelProperty(value = "用户ID")
	private String userId;

	@ApiModelProperty(value = "用户")
	private String userName;

	@ApiModelProperty(value = "类目ID")
	private Integer classId;

	@ApiModelProperty(value = "类目")
	private String className;

	@ApiModelProperty(value = "圈子名称")
	private String name;

	@ApiModelProperty(value = "圈子描述")
	private String description;

	@ApiModelProperty(value = "圈子封面")
	private String coverImage;

	@ApiModelProperty(value = "圈子背景")
	private String bgImage;

	@ApiModelProperty(value = "圈子状态：0 正常 ，1禁用")
	private Integer status;

	@ApiModelProperty(value = "加入人数")
	private Integer userNum;

	@ApiModelProperty(value = "帖子数")
	private Integer postNum;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;


}